package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name    string `json:"name" gorm:"type:varchar(30)" `
	Age     int    `json:"age" gorm:"type:int(10)"`
	Tel     string `json:"tel" gorm:"type:char(11)"`
	Address string `json:"address" gorm:"type:varchar(60)"`
	Level   int    `json:"level" gorm:"type:int(10)"`
	Quan    string `json:"quan" gorm:"type:enum('是','否')"`
}
